﻿@model PhotoGallery.Models.User

@{
    ViewData["Title"] = "删除用户";
}



<h3>您确认删除该用户?</h3>
<div>
    <h4>删除用户</h4>
    <hr />
    <div asp-validation-summary="All" class="text-danger"></div>

    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.UserName)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.UserName)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Name)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Name)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IsEnable)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.IsEnable)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.LastLoginTime)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.LastLoginTime)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.LastLoginIP)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.LastLoginIP)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.FailRetry)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.FailRetry)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.PasswdHash)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.PasswdHash)
        </dd>
        
        <dt>
            @Html.DisplayNameFor(model => model.CreateDate)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CreateDate)
        </dd>
    </dl>
    
    <form asp-action="Delete">
        <input type="hidden" asp-for="UId" />
        <input type="submit" value="删除" class="btn btn-default" /> |
        <a asp-action="Index">返回</a>
    </form>
</div>
